package com.ecs.to_tos_service.mapper.ecs;

import com.ecs.to_tos_service.domain.GmsTrucknoInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface GmsTrucknoInfoMapper {




//    int insert(GmsTrucknoInfo record);
//
//    int insertSelective(GmsTrucknoInfo record);

//    @Select("SELECT * FROM GMS_TRUCKNO_INFO where GTI_ID = #{gtiId}")
//    @Results({
//            @Result(column = "GTI_ID",property = "gtiId"),
//            @Result(column = "GTI_LANE_NUM",property = "gtiLaneNum"),
//    @Result(column = "GTI_TRUCK_STATUS",property = "gtiTruckStatus"),
//    @Result(column = "GTI_TRUCK_NO",property = "gtiTruckNo"),
//    @Result(column = "GTI_TRUCK_PIC",property = "gtiTruckPic"),
//    @Result(column = "GTI_IDT_TRUCK_TM",property = "gtiIdtTruckTm"),
//    @Result(column = "GTI_FINISH_FG",property = "gtiFinishFg"),
//    @Result(column = "GTI_PARTITIONNM",property = "gtiPartitionnm"),
//    @Result(column = "GTI_ARCHIVEFG",property = "gtiArchivefg"),
//    @Result(column = "GTI_CREATEDT",property = "gtiCreatedt")
//    }
//    )
    GmsTrucknoInfo selectByPrimaryKey(@Param("gtiId")Long gtiId);

        @Select("SELECT * FROM GMS_TRUCKNO_INFO where GTI_ID = #{gtiId}")
//    @Results({
//            @Result(column = "GTI_ID",property = "gtiId"),
//            @Result(column = "GTI_LANE_NUM",property = "gtiLaneNum"),
//    @Result(column = "GTI_TRUCK_STATUS",property = "gtiTruckStatus"),
//    @Result(column = "GTI_TRUCK_NO",property = "gtiTruckNo"),
//    @Result(column = "GTI_TRUCK_PIC",property = "gtiTruckPic"),
//    @Result(column = "GTI_IDT_TRUCK_TM",property = "gtiIdtTruckTm"),
//    @Result(column = "GTI_FINISH_FG",property = "gtiFinishFg"),
//    @Result(column = "GTI_PARTITIONNM",property = "gtiPartitionnm"),
//    @Result(column = "GTI_ARCHIVEFG",property = "gtiArchivefg"),
//    @Result(column = "GTI_CREATEDT",property = "gtiCreatedt")
//    }
//    )
    GmsTrucknoInfo selectByannotations(@Param("gtiId")Long gtiId);

        List<GmsTrucknoInfo> selectByChooseWhen(@Param("gtiTruckNo")String gtiTruckNo);

//    GmsTrucknoInfo selectByPrimaryKeyNoWait(Long gtiId);
//
//    int updateByPrimaryKeySelective(GmsTrucknoInfo record);
//
//    int updateByPrimaryKey(GmsTrucknoInfo record);
//
//    int updateLunNum(@Param("lunnum") String lunnum, @Param("gtiId") Long gtiId);
//
//    List<GmsTrucknoInfo> selectGTIList();
//
//    GmsTrucknoInfo selectGtiByTruckNoDesc(String truckNo);
//
//    int deleteByPrimaryKey(Long gtiId);
}